package org.senseframework.support.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by emeey on 2016/11/20.
 */
@Controller
@RequestMapping("/main")
public class MainController {
    @ResponseBody
    @RequestMapping(value = {"/","/index"})
    public String index() {
        return "index ok";
    }

}
